﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using GSLMS.Entity;
namespace GSLMS.Services.Interface
{
	/// <summary>
	/// 接口说明:TB_ADU_SPECAIL接口
	/// </summary>
	[ServiceContract(Name = "IADU_SPECAIL", Namespace = "http://www.gslms.com/")]
	public interface IADU_SPECAIL : IBase<TB_ADU_SPECAIL>
	{
        /// <summary>
        /// 特批申请部门审批
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        [OperationContract]
        bool SpecailBMAudit(GSLMS.Entity.TB_ADU_SPECAIL model);

        /// <summary>
        /// 分页提取特批申请审批数据
        /// </summary>
         [OperationContract]
        List<GSLMS.Entity.TB_ADU_SPECAIL> GetSpecailList(GSLMS.Entity.TB_ADU_SPECAIL searchParam);

        /// <summary>
        /// 通过特批业务类型和父ID提取已审批信息
        /// </summary>
        /// <param name="pid"></param>
        /// <param name="specialType"></param>
        /// <returns></returns>
        [OperationContract]
        List<GSLMS.Entity.TB_ADU_SPECAIL> GetAllByTypeAndPID(long pid, int specialType);

	}
}
